﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Data;
using DTO;
using System.Collections;

namespace DAO
{
    public class KhachHangDao
    {
        public DataTable Load_KhachHang()
        {
            SqlConnection cn;
            cn = Provider.ConnectDB();
            DataTable dt = new DataTable();
            SqlDataAdapter da = new SqlDataAdapter("usp_LoadKhachHang", cn);
            da.SelectCommand.CommandType = System.Data.CommandType.StoredProcedure;
            da.Fill(dt);
            return dt;
        }

    }
}
